package com.xueyi.system.supervisory.service.impl;

import com.xueyi.system.supervisory.domain.query.BaseProcessMonitorQuery;
import com.xueyi.system.supervisory.domain.dto.BaseProcessMonitorDto;
import com.xueyi.system.supervisory.service.IBaseProcessMonitorService;
import com.xueyi.system.supervisory.manager.IBaseProcessMonitorManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 过程监控管理 服务层处理
 *
 * @author yanhe
 */
@Service
public class BaseProcessMonitorServiceImpl extends BaseServiceImpl<BaseProcessMonitorQuery, BaseProcessMonitorDto, IBaseProcessMonitorManager> implements IBaseProcessMonitorService {

    /**
     * 查询过程监控对象列表 | 数据权限 | 附加数据
     *
     * @param baseProcessMonitor 过程监控对象
     * @return 过程监控对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BaseProcessMonitorMapper"})
    public List<BaseProcessMonitorDto> selectListScope(BaseProcessMonitorQuery baseProcessMonitor) {
        return baseManager.selectListExtra(baseProcessMonitor);
    }

}